﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace EleriaMailing
{
    /// <summary>
    /// Logique d'interaction pour Intro.xaml
    /// </summary>
    public partial class Intro : Window
    {
        public Intro()
        {
            InitializeComponent();
        }

        private void Window_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            if((e.GetPosition(this).Y>280)&&(e.GetPosition(this).X>280))
                System.Diagnostics.Process.Start("mailto:contact@eleria.fr?Subject=Logiciel e-mailing");
            else
            Close();
        }
    }
}
